<% include head %>
<body>
    <h1><%= title %></h1>
    <form action="<%- login_uri %>" method="POST">
        <div>
            <label>用户名</label>
            <input type="text" name="user_id" placeholder="用户名" />
        </div>
        <div>
            <label>密码</label>
            <input type="password" name="password" placeholder="密码" />
        </div>
        <div>
            <label>验证码</label>
            <input type="test" name="ticket" placeholder="验证码" size="6" />
            <a href="javascript:void(0)" 
                onclick="$('#captcha').attr('src','<%- base_uri %>/Kaptcha.jpg?tm='+new Date().getTime());return false;" >
                <img id="captcha" src="<%- base_uri %>/Kaptcha.jpg?tm=<%- new Date().getTime() %>" height="24" />
            </a>
        </div>
        <div>
            <input type="hidden" name="login_type" value="oa" />
            <input type="submit" value="登录" />
        </div>
    </form>
</body>
</html>
